import { FormSchema } from '/@/components/BasicForm/type/form';

export const syncSchemas: FormSchema = [
  {
    field: 'syncIntegrationAddress',
    label: '同步集成地址',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入同步集成地址',
    },
    labelWidth: 100,
    colProps: { span: 24 },
    required: false,
  },
  {
    field: 'cmRsaPublicKey',
    label: 'RSA公钥',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入RSA公钥',
    },
    labelWidth: 100,
    colProps: { span: 24 },
    required: false,
  },
  {
    field: 'cmRsaPrivateKey',
    label: 'RSA私钥',
    component: 'InputPassword',
    componentProps: {
      placeHolder: '请输入RSA私钥',
      visibilityToggle: false,
    },
    labelWidth: 100,
    colProps: { span: 21 },
    required: false,
    dynamicDisabled: true,
  },
  {
    field: 'editSecret',
    label: '',
    component: 'Input',
    slot: 'edit',
    colProps: { span: 3 },
  },
];
